package com.cropdoctor.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cropdoctor.model.po.CourseInfoPo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CourseInfoMapper extends BaseMapper<CourseInfoPo> {
    List<CourseInfoPo> getMyCourseInfo(@Param("id") long userId,@Param("status") String status);

    CourseInfoPo getSingleCourseInfo(@Param("id") long courseId);
}
